Optimal. Leaf size=56 \[ -\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )+\frac {1}{2} b \text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6416, 5882,
3799, 2221, 2317, 2438} \begin {gather*} -\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-\log \left (e^{-2 \text {sech}^{-1}(c x)}+1\right ) \left (a+b \text {sech}^{-1}(c x)\right )+\frac {1}{2} b \text {Li}_2\left (-e^{-2 \text {sech}^{-1}(c x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5882
Rule 6416
Rubi steps
\begin {align*} \int \frac {a+b \text {sech}^{-1}(c x)}{x} \, dx &=-\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{x} \, dx,x,\frac {1}{x}\right )\\ &=-\text {Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\text {sech}^{-1}(c x)\right )\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-2 \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\text {sech}^{-1}(c x)\right )\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )+b \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )+\frac {1}{2} b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {sech}^{-1}(c x)}\right )\\ &=\frac {\left (a+b \text {sech}^{-1}(c x)\right )^2}{2 b}-\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+e^{2 \text {sech}^{-1}(c x)}\right )-\frac {1}{2} b \text {Li}_2\left (-e^{2 \text {sech}^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 47, normalized size = 0.84 \begin {gather*} a \log (x)+\frac {1}{2} b \left (-\text {sech}^{-1}(c x) \left (\text {sech}^{-1}(c x)+2 \log \left (1+e^{-2 \text {sech}^{-1}(c x)}\right )\right )+\text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(c x)}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 100, normalized size = 1.79
method | result | size |
derivativedivides | \(a \ln \left (c x \right )+\frac {b \mathrm {arcsech}\left (c x \right )^{2}}{2}-b \,\mathrm {arcsech}\left (c x \right ) \ln \left (1+\left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}\right )-\frac {b \polylog \left (2, -\left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}\right )}{2}\) | \(100\) |
default | \(a \ln \left (c x \right )+\frac {b \mathrm {arcsech}\left (c x \right )^{2}}{2}-b \,\mathrm {arcsech}\left (c x \right ) \ln \left (1+\left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}\right )-\frac {b \polylog \left (2, -\left (\frac {1}{c x}+\sqrt {-1+\frac {1}{c x}}\, \sqrt {1+\frac {1}{c x}}\right )^{2}\right )}{2}\) | \(100\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asech}{\left (c x \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________